package com.lovely602.langchain4j.boot.service;


import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;

/**
 *
 * 知识出处，https://docs.langchain4j.dev/tutorials/spring-boot-integration/#spring-boot-starter-for-declarative-ai-services
 *
 * @author lizhixing
 */
@AiService
public interface ChatAssistant {

    @SystemMessage("You are a polite assistant")
    String chat(String msg);
}
